﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Mobile_H.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Bias_Stock.Models.CountCartModel.Cart_CNT_DS>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Query_Size
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

 <div style="background-color: #8094AE; height: 40px; margin-top: 0px;">
        <h2 style="color: White; text-align:center;">
            <%= WinNemoLib.DateUtil.ToDisplayDate(DateTime.Now) %></h2>
    </div>

      <style type="text/css">
        tr
        {
            height: 35px;
            text-align: right;
            background-color: #fff;
        }
        th
        {
            background-color: #FFFFC2;
            text-align:center;
        }
            tr.rowa
        {
            background-color:#fff;
            text-align:center;
        }
    </style>
<table width="99%">
<tr><th >Size</th><td colspan="3" style="text-align:center;"><%: Bias_Stock.Models.SessionBag.Current.Size %></td></tr>
    <tr>
        
        <th>
           Cart
        </th>
        <th>
           Area
        </th>
       
        <th>
            M
        </th>
       <th>Type</th>
    </tr>

<% foreach (var item in Model) { %>
    <tr class="rowa">
       
        <td>
            <%: Html.DisplayFor(modelItem => item._Cart_no) %>
        </td>
        <td>
            <%: Html.DisplayFor(modelItem => item._Area) %>
        </td>
        
        <td>
            <%: Html.DisplayFor(modelItem => item._Meter) %>
        </td>
        <td>
         <%: Html.DisplayFor(modelItem => item._Type) %>
        </td>
      
<% } %>

</table>
  <div style="float:left">  <input type="button" id="back" value="Cancel" style="width: 40%" /></div>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="FeaturedContent" runat="server">
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="ScriptsSection" runat="server">
<script type="text/jscript">
    $(function () {
        $("#back").click(function () {
            window.location = '<%: Url.Action("Query_Cart") %>';
        });
    });
</script>
</asp:Content>
